package com.binance.assetservice.vo.response.product;

import java.math.BigDecimal;
import java.util.List;

import com.binance.master.commons.ToString;
import com.google.common.collect.Lists;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class CurrencyResponse extends ToString {

    /**
     * 
     */
    private static final long serialVersionUID = -7402928505921931349L;

    @ApiModelProperty(value = "所有货币对的汇率信息")
    private final List<PairRate> pairRates = Lists.newArrayList();

    @Setter
    @Getter
    public static class PairRate extends ToString {
        /**
         * 
         */
        private static final long serialVersionUID = -997338223576078541L;
        @ApiModelProperty(value = "货币对")
        private String pair;
        @ApiModelProperty(value = "汇率值")
        private BigDecimal rate;
    }
}
